package camel.corp.universalcopy;

import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.Intent;
import android.preference.Preference;
import android.widget.Toast;
import com.camel.corp.universalcopy.fa;
import com.camel.corp.universalcopy.ga;
import com.crashlytics.android.Crashlytics;

class fa implements Preference.OnPreferenceClickListener {
  fa(ga paramga) {}
  
  public boolean onPreferenceClick(Preference paramPreference) {
    Context context = paramPreference.getContext();
    intent = new Intent();
    intent.setAction("android.intent.action.SEND");
    String str = this.a.getResources().getString(2131755197);
    StringBuilder stringBuilder = new StringBuilder();
    stringBuilder.append(str);
    stringBuilder.append(" - http://bit.ly/universal-copy");
    intent.putExtra("android.intent.extra.TEXT", stringBuilder.toString());
    intent.setType("text/plain");
    try {
      this.a.startActivity(Intent.createChooser(intent, this.a.getResources().getString(2131755198)));
    } catch (ActivityNotFoundException intent) {
      Toast.makeText(context, this.a.getResources().getString(2131755089), 0).show();
      Crashlytics.a(intent);
    } 
    return true;
  }
}


/* Location:              D:\Users\alienware\AndroidStudioProjects\Lazero\sample\sampler\classes-dex2jar\com\camel.jar!\camel\cor\\universalcopy\fa.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       1.0.7
 */